<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: src/ArduinoAVR/Repetier/Distortion.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_distortion_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Distortion.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_distortion_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    This file is part of Repetier-Firmware.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    Repetier-Firmware is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    (at your option) any later version.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    Repetier-Firmware is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    along with Repetier-Firmware.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef _DISTORTION_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define _DISTORTION_H</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#if DISTORTION_CORRECTION || defined(DOXYGEN)</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_distortion.html">   33</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_distortion.html">Distortion</a> {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="class_distortion.html#af712b1eb22bc79f96a2febc3e21b859a">Distortion</a>();</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a896b0eba070c9a6f3eac93e2dbbebf2a">init</a>();</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a2ba31d958e4ea926676ebd4210f7fb2e">enable</a>(<span class="keywordtype">bool</span> permanent = <span class="keyword">true</span>);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#aa8631b6805cc9b350008746ec1d18a33">disable</a>(<span class="keywordtype">bool</span> permanent = <span class="keyword">true</span>);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_distortion.html#a640cb0ba702cb2f1cd6faddb512e0661">measure</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    int32_t <a class="code" href="class_distortion.html#a529c935a116870f3b3d451a2c82b39d5">correct</a>(int32_t x, int32_t y, int32_t z) <span class="keyword">const</span>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a9d0c7638a2e54ccf0ff62437d6260c07">updateDerived</a>();</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a9698fdbe2b1ca4ea8f931986eb39e158">reportStatus</a>();</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_distortion.html#a171794b1a3a88ae4ae47141691815ab5">   52</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_distortion.html#a171794b1a3a88ae4ae47141691815ab5">isEnabled</a>() {</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_distortion.html#ade70f7f70c1fffb8b680e5d90a443df5">enabled</a>;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    }</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_distortion.html#ac55b15ad926b5da20da8ff7433ff01e9">   55</a></span>&#160;    int32_t <a class="code" href="class_distortion.html#ac55b15ad926b5da20da8ff7433ff01e9">zMaxSteps</a>() {</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_distortion.html#adeca8aa951faa77c9275180a9b882767">zEnd</a>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">void</span> <span class="keyword">set</span>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a38c784e92199db781afcfe627458db29">showMatrix</a>();</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#aca60dee7ab40ba54d1adecc0611e2b83">resetCorrection</a>();</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_distortion.html#a6ea610ab9616de000584ed435b4faa00">matrixIndex</a>(<a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y) <span class="keyword">const</span>;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    int32_t <a class="code" href="class_distortion.html#af1b1aa003aebce26ce329b75fefd5535">getMatrix</a>(<span class="keywordtype">int</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#acfb43cdc650c81e3c0310a3d6278464c">setMatrix</a>(int32_t val, <span class="keywordtype">int</span> index);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_distortion.html#a6edf31ca2e19c6fb747c5a930c1db693">isCorner</a>(<a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> i, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> j) <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="_h_a_l_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> int32_t <a class="code" href="class_distortion.html#a40472930740db7056ab1b321c5014186">extrapolatePoint</a>(<a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x1, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y1, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x2, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y2) <span class="keyword">const</span>;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a57923fb7e467fe9c505bb4852e8a6cbb">extrapolateCorner</a>(<a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> x, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> y, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> dx, <a class="code" href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a> dy);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_distortion.html#a6876ea55e62c502ccfb3b022020f31bc">extrapolateCorners</a>();</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="comment">// attributes</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">#if DRIVE_SYSTEM == DELTA</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_distortion.html#a62551812761d90959037aa08395aa07b">   72</a></span>&#160;    int32_t <a class="code" href="class_distortion.html#a62551812761d90959037aa08395aa07b">step</a>;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_distortion.html#a65b43d83e128ff5e69b2f1cb25fb2097">   73</a></span>&#160;    int32_t <a class="code" href="class_distortion.html#a65b43d83e128ff5e69b2f1cb25fb2097">radiusCorrectionSteps</a>;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    int32_t xCorrectionSteps, xOffsetSteps;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    int32_t yCorrectionSteps, yOffsetSteps;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_distortion.html#a79e096fada6b6c1c03e1d757a1df32d5">   78</a></span>&#160;    int32_t <a class="code" href="class_distortion.html#a79e096fada6b6c1c03e1d757a1df32d5">zStart</a>, <a class="code" href="class_distortion.html#adeca8aa951faa77c9275180a9b882767">zEnd</a>;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#if !DISTORTION_PERMANENT</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_distortion.html#ad09f2bb604c230247a5c4f8977999077">   80</a></span>&#160;    int32_t <a class="code" href="class_distortion.html#ad09f2bb604c230247a5c4f8977999077">matrix</a>[<a class="code" href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a> * <a class="code" href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a>];</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_distortion.html#ade70f7f70c1fffb8b680e5d90a443df5">   82</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_distortion.html#ade70f7f70c1fffb8b680e5d90a443df5">enabled</a>;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;};</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#endif //DISTORTION_CORRECTION</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_distortion_html_af1b1aa003aebce26ce329b75fefd5535"><div class="ttname"><a href="class_distortion.html#af1b1aa003aebce26ce329b75fefd5535">Distortion::getMatrix</a></div><div class="ttdeci">int32_t getMatrix(int index) const</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:140</div></div>
<div class="ttc" id="class_distortion_html_a171794b1a3a88ae4ae47141691815ab5"><div class="ttname"><a href="class_distortion.html#a171794b1a3a88ae4ae47141691815ab5">Distortion::isEnabled</a></div><div class="ttdeci">bool isEnabled()</div><div class="ttdef"><b>Definition:</b> Distortion.h:52</div></div>
<div class="ttc" id="class_distortion_html_ac55b15ad926b5da20da8ff7433ff01e9"><div class="ttname"><a href="class_distortion.html#ac55b15ad926b5da20da8ff7433ff01e9">Distortion::zMaxSteps</a></div><div class="ttdeci">int32_t zMaxSteps()</div><div class="ttdef"><b>Definition:</b> Distortion.h:55</div></div>
<div class="ttc" id="class_distortion_html_aa8631b6805cc9b350008746ec1d18a33"><div class="ttname"><a href="class_distortion.html#aa8631b6805cc9b350008746ec1d18a33">Distortion::disable</a></div><div class="ttdeci">void disable(bool permanent=true)</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:113</div></div>
<div class="ttc" id="class_distortion_html_a896b0eba070c9a6f3eac93e2dbbebf2a"><div class="ttname"><a href="class_distortion.html#a896b0eba070c9a6f3eac93e2dbbebf2a">Distortion::init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:76</div></div>
<div class="ttc" id="class_distortion_html_a6edf31ca2e19c6fb747c5a930c1db693"><div class="ttname"><a href="class_distortion.html#a6edf31ca2e19c6fb747c5a930c1db693">Distortion::isCorner</a></div><div class="ttdeci">bool isCorner(fast8_t i, fast8_t j) const</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:157</div></div>
<div class="ttc" id="class_distortion_html_adeca8aa951faa77c9275180a9b882767"><div class="ttname"><a href="class_distortion.html#adeca8aa951faa77c9275180a9b882767">Distortion::zEnd</a></div><div class="ttdeci">int32_t zEnd</div><div class="ttdef"><b>Definition:</b> Distortion.h:78</div></div>
<div class="ttc" id="class_distortion_html_a640cb0ba702cb2f1cd6faddb512e0661"><div class="ttname"><a href="class_distortion.html#a640cb0ba702cb2f1cd6faddb512e0661">Distortion::measure</a></div><div class="ttdeci">bool measure(void)</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:182</div></div>
<div class="ttc" id="class_distortion_html_af712b1eb22bc79f96a2febc3e21b859a"><div class="ttname"><a href="class_distortion.html#af712b1eb22bc79f96a2febc3e21b859a">Distortion::Distortion</a></div><div class="ttdeci">Distortion()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:73</div></div>
<div class="ttc" id="class_distortion_html_a57923fb7e467fe9c505bb4852e8a6cbb"><div class="ttname"><a href="class_distortion.html#a57923fb7e467fe9c505bb4852e8a6cbb">Distortion::extrapolateCorner</a></div><div class="ttdeci">void extrapolateCorner(fast8_t x, fast8_t y, fast8_t dx, fast8_t dy)</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:169</div></div>
<div class="ttc" id="class_distortion_html"><div class="ttname"><a href="class_distortion.html">Distortion</a></div><div class="ttdoc">Handle distortion related stuff. </div><div class="ttdef"><b>Definition:</b> Distortion.h:33</div></div>
<div class="ttc" id="class_distortion_html_a2ba31d958e4ea926676ebd4210f7fb2e"><div class="ttname"><a href="class_distortion.html#a2ba31d958e4ea926676ebd4210f7fb2e">Distortion::enable</a></div><div class="ttdeci">void enable(bool permanent=true)</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:104</div></div>
<div class="ttc" id="class_distortion_html_a62551812761d90959037aa08395aa07b"><div class="ttname"><a href="class_distortion.html#a62551812761d90959037aa08395aa07b">Distortion::step</a></div><div class="ttdeci">int32_t step</div><div class="ttdef"><b>Definition:</b> Distortion.h:72</div></div>
<div class="ttc" id="class_distortion_html_a6876ea55e62c502ccfb3b022020f31bc"><div class="ttname"><a href="class_distortion.html#a6876ea55e62c502ccfb3b022020f31bc">Distortion::extrapolateCorners</a></div><div class="ttdeci">void extrapolateCorners()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:174</div></div>
<div class="ttc" id="class_distortion_html_a9698fdbe2b1ca4ea8f931986eb39e158"><div class="ttname"><a href="class_distortion.html#a9698fdbe2b1ca4ea8f931986eb39e158">Distortion::reportStatus</a></div><div class="ttdeci">void reportStatus()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:126</div></div>
<div class="ttc" id="class_distortion_html_a79e096fada6b6c1c03e1d757a1df32d5"><div class="ttname"><a href="class_distortion.html#a79e096fada6b6c1c03e1d757a1df32d5">Distortion::zStart</a></div><div class="ttdeci">int32_t zStart</div><div class="ttdef"><b>Definition:</b> Distortion.h:78</div></div>
<div class="ttc" id="class_distortion_html_a40472930740db7056ab1b321c5014186"><div class="ttname"><a href="class_distortion.html#a40472930740db7056ab1b321c5014186">Distortion::extrapolatePoint</a></div><div class="ttdeci">INLINE int32_t extrapolatePoint(fast8_t x1, fast8_t y1, fast8_t x2, fast8_t y2) const</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:165</div></div>
<div class="ttc" id="class_distortion_html_aca60dee7ab40ba54d1adecc0611e2b83"><div class="ttname"><a href="class_distortion.html#aca60dee7ab40ba54d1adecc0611e2b83">Distortion::resetCorrection</a></div><div class="ttdeci">void resetCorrection()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:130</div></div>
<div class="ttc" id="class_distortion_html_ade70f7f70c1fffb8b680e5d90a443df5"><div class="ttname"><a href="class_distortion.html#ade70f7f70c1fffb8b680e5d90a443df5">Distortion::enabled</a></div><div class="ttdeci">bool enabled</div><div class="ttdef"><b>Definition:</b> Distortion.h:82</div></div>
<div class="ttc" id="class_distortion_html_a6ea610ab9616de000584ed435b4faa00"><div class="ttname"><a href="class_distortion.html#a6ea610ab9616de000584ed435b4faa00">Distortion::matrixIndex</a></div><div class="ttdeci">int matrixIndex(fast8_t x, fast8_t y) const</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:136</div></div>
<div class="ttc" id="class_distortion_html_a38c784e92199db781afcfe627458db29"><div class="ttname"><a href="class_distortion.html#a38c784e92199db781afcfe627458db29">Distortion::showMatrix</a></div><div class="ttdeci">void showMatrix()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:421</div></div>
<div class="ttc" id="class_distortion_html_a9d0c7638a2e54ccf0ff62437d6260c07"><div class="ttname"><a href="class_distortion.html#a9d0c7638a2e54ccf0ff62437d6260c07">Distortion::updateDerived</a></div><div class="ttdeci">void updateDerived()</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:89</div></div>
<div class="ttc" id="_h_a_l_8h_html_adfaa4526bb47342be47f89a9eb6b3bef"><div class="ttname"><a href="_h_a_l_8h.html#adfaa4526bb47342be47f89a9eb6b3bef">fast8_t</a></div><div class="ttdeci">int8_t fast8_t</div><div class="ttdef"><b>Definition:</b> HAL.h:160</div></div>
<div class="ttc" id="_h_a_l_8h_html_a2eb6f9e0395b47b8d5e3eeae4fe0c116"><div class="ttname"><a href="_h_a_l_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a></div><div class="ttdeci">#define INLINE</div><div class="ttdef"><b>Definition:</b> HAL.h:37</div></div>
<div class="ttc" id="class_distortion_html_ad09f2bb604c230247a5c4f8977999077"><div class="ttname"><a href="class_distortion.html#ad09f2bb604c230247a5c4f8977999077">Distortion::matrix</a></div><div class="ttdeci">int32_t matrix[DISTORTION_CORRECTION_POINTS *DISTORTION_CORRECTION_POINTS]</div><div class="ttdef"><b>Definition:</b> Distortion.h:80</div></div>
<div class="ttc" id="_configuration_8h_html_a3b410b06c230ad228fb064e56af87b85"><div class="ttname"><a href="_configuration_8h.html#a3b410b06c230ad228fb064e56af87b85">DISTORTION_CORRECTION_POINTS</a></div><div class="ttdeci">#define DISTORTION_CORRECTION_POINTS</div><div class="ttdef"><b>Definition:</b> Configuration.h:1562</div></div>
<div class="ttc" id="class_distortion_html_acfb43cdc650c81e3c0310a3d6278464c"><div class="ttname"><a href="class_distortion.html#acfb43cdc650c81e3c0310a3d6278464c">Distortion::setMatrix</a></div><div class="ttdeci">void setMatrix(int32_t val, int index)</div><div class="ttdef"><b>Definition:</b> Distortion.cpp:147</div></div>
<div class="ttc" id="class_distortion_html_a65b43d83e128ff5e69b2f1cb25fb2097"><div class="ttname"><a href="class_distortion.html#a65b43d83e128ff5e69b2f1cb25fb2097">Distortion::radiusCorrectionSteps</a></div><div class="ttdeci">int32_t radiusCorrectionSteps</div><div class="ttdef"><b>Definition:</b> Distortion.h:73</div></div>
<div class="ttc" id="class_distortion_html_a529c935a116870f3b3d451a2c82b39d5"><div class="ttname"><a href="class_distortion.html#a529c935a116870f3b3d451a2c82b39d5">Distortion::correct</a></div><div class="ttdeci">int32_t correct(int32_t x, int32_t y, int32_t z) const</div><div class="ttdoc">Compute distortion correction at given position. </div><div class="ttdef"><b>Definition:</b> Distortion.cpp:276</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cdf0096ae548159f0698b0a71289cf6c.html">ArduinoAVR</a></li><li class="navelem"><a class="el" href="dir_360d65efbdba454d299657bac363b72c.html">Repetier</a></li><li class="navelem"><a class="el" href="_distortion_8h.html">Distortion.h</a></li>
    <li class="footer">Generated on Tue Sep 19 2017 18:54:00 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
